<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Environment - Documentation</title>
    
    <script src="scripts/prettify/prettify.js"></script>
    <!--script src="scripts/prettify/lang-css.js"></script-->
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!--link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css"-->
    <link type="text/css" rel="stylesheet" href="styles/tomorrow-night.css">
    <link type="text/css" rel="stylesheet" href="styles/ub-jsdoc.css">

   

</head>
<body>
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger" class="navicon-button x">
  <div class="navicon"></div>
</label>

<label for="nav-trigger" class="overlay"></label>

<nav>
    <input type="text" id="search-input" placeholder="Search" autocomplete="off">
    <h3><a href="index.html">Home</a></h3><h3>Classes</h3><ul><li><input type="checkbox" id="n1"/><label for="n1"><a href="Alive.html" class="member-kind-class">Alive</a></label><section><ul><li><a href="Alive.html#survive" class="member-kind-function">survive</a></li></ul><ul><li><a href="Alive.html#energy" class="member-kind-member">energy</a></li></ul></section></li><li><input type="checkbox" id="n2"/><label for="n2"><a href="Apple.html" class="member-kind-class">Apple</a></label><section><ul><li><a href="Apple.html#color" class="member-kind-member">color</a></li></ul></section></li><li><input type="checkbox" id="n3"/><label for="n3"><a href="Energy.html" class="member-kind-class">Energy</a></label><section><ul><li><a href="Energy.html#amount" class="member-kind-member">amount</a></li><li><a href="Energy.html#unit" class="member-kind-member">unit</a></li></ul></section></li><li><input type="checkbox" id="n4"/><label for="n4"><a href="Environment.html" class="member-kind-class">Environment</a></label><section><ul><li><a href="Environment.html#start" class="member-kind-function">start</a></li></ul><ul><li><a href="Environment.html#livingThings" class="member-kind-member">livingThings</a></li><li><a href="Environment.html#name" class="member-kind-member">name</a></li></ul></section></li><li><input type="checkbox" id="n5"/><label for="n5"><a href="Tree.html" class="member-kind-class">Tree</a></label><section><ul><li><a href="Tree.html#crop" class="member-kind-function">crop</a></li></ul><ul><li><a href="Tree.html#branches" class="member-kind-member">branches</a></li></ul></section></li></ul><h3>Events</h3><ul><li><label for="n6"><a href="global.html#event:%257BEnergy%257DbeEaten" class="member-kind-event">{Energy} beEaten</a></label></li><li><label for="n7"><a href="Environment.html#event:beforeDestroy" class="member-kind-event">beforeDestroy</a></label></li></ul><h3><a href="global.html">Global</a></h3>
</nav>

<div id="main">
    
    <h1 class="page-title">Environment</h1>
    

    




<section>

<header>
    
        <h2>
        Environment
        </h2>
        
            <div class="class-description"><p>Lorem ipsum dolor sit amet, <a href="Energy.html">Energy</a> consectetur adipiscing elit. Vestibulum condimentum tempus diam. Ut eget ultricies metus, vitae ornare turpis. Vivamus lectus metus, euismod quis tortor quis, pretium semper massa. Nulla mauris sapien, faucibus vitae metus et, ultrices fringilla sem. Sed laoreet tempor odio, elementum scelerisque nunc aliquet quis.</p></div>
        
    
</header>

<article>
    <div class="container-overview">
    
        

    
    <h2>Constructor</h2>
    

    <h4 class="name " id="Environment">new <a href="Environment.js.html#line6">Environment</a><span class="signature">()</span><span class="type-signature"></span>

    

    </h4>

    















<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>
















    
    </div>

    

    

    

     

    

    
        <h2 class="subsection-title">Members</h3>

        
            
<h4 class="name" id="livingThings"><a href="Environment.js.html#line14">livingThings</a><span class="type-signature">: Array.&lt;<a href="Alive.html">Alive</a>></span>

</h4>




<div class="description">
    <p>All the living things in this environment</p>
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
            
<h4 class="name" id="name"><a href="Environment.js.html#line20">name</a><span class="type-signature">: String</span>

</h4>




<div class="description">
    <p>The name of this environment</p>
</div>







<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>






        
    

    
        <h2 class="subsection-title">Methods</h3>

        
            

    

    <h4 class="name " id="start"><a href="Environment.js.html#line27">start</a><span class="signature">(config)</span><span class="type-signature"></span>

    

    </h4>

    



<div class="description">
    <p>Vestibulum condimentum tempus <a href="Alive.html">Alive</a> diam.</p>
</div>









    <h5>Arguments:</h5>
    

<ol>
  
  <li>
     <code>config</code> <code>(<span class="param-type"><a href="global.html#EnvironmentConfiguration">EnvironmentConfiguration</a></span>)</code>
     
  </li>
  
</ol>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>
















        
    

    

    
        <h2 class="subsection-title">Events</h3>

        
            

    

    <h4 class="name " id="event:beforeDestroy"><a href="Environment.js.html#line38">beforeDestroy</a>

    

    </h4>

    



<div class="description">
    <p>Lorem ipsum dolor sit amet, <a href="Energy.html">Energy</a> consectetur adipiscing el</p>
</div>





    <h5>Type:</h5>
    <ul>
        <li>
            <span class="param-type"><a href="Energy.html">Energy</a></span>
        </li>
    </ul>









    <h5 class="subsection-title">Properties:</h5>

    

<table class="props">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>foo</code></td>
            

            <td class="type">
            
                <span class="param-type">boolean</span>
            
            </td>

            

            

            <td class="description last"><p>aalks djlas</p></td>
        </tr>

    
    </tbody>
</table>




<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
</dl>
















        
    
</article>

</section>
<div class="forScrollToTop"></div>




</div>

<div id="search-result">
    <input type="checkbox" id="search-trigger" class="search-trigger" />
    <label for="search-trigger" style="float: right"></label>
    <!--label for="search-trigger" class="overlay"></label-->
    <section id="search-result-inner"></section>
</div>
<br class="clear">

<footer>
    Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Oct 10 2017 21:56:54 GMT-0300 (-03) using the <a href="https://github.com/UnityBaseJS/ub-jsdoc">ub-jsdoc</a> theme.
</footer>
<script src="scripts/lunr.min.js"></script>
<script src="scripts/partialNavigation.js"></script>
<script>prettyPrint(); window.exports.gotoLine()</script>

</body>
</html>